﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PortalParts/PageMoreBranch.Master" AutoEventWireup="true" CodeBehind="BranchLeader.aspx.cs" Inherits="ZHDJ.Web.Portal.BranchHome.BranchLeader" %>
<%@ Import Namespace="ZHDJ.WebPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <link href="../../Resource/js/Nailthumb/jquery.nailthumb.1.1.min.css" rel="stylesheet" />
    <script src="../../Resource/js/Nailthumb/jquery.nailthumb.1.1.min.js"></script>

    <script>
      
        var initImgSize = function () {
            $('.nailthumb-container').each(function (i, n) {
                $(n).nailthumb({ width: 240, height: 180, method: 'crop', fitDirection: 'center center' });
            });
        }
        
        $(function () {
            initImgSize();
        });

    </script>
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <asp:HiddenField ID="hfTotalCount" runat="server" Value="10" />
    <asp:HiddenField ID="hfCategory" runat="server" />
    <asp:Label runat="server" ID="dd"> </asp:Label>
    <div class="ny_box" style="min-height:460px">
        <asp:Repeater ID="rptPost" runat="server">
            <ItemTemplate>
                <div style="margin-top:10px;">
                    <div style="margin-bottom:20px;">
                        <h4 style="height:36px;line-height:36px; color: #e60000; border-bottom: 1px solid #e60000;" ><%# Eval("DDicMemberName") %></h4>
                    </div>
                    <ul class="ulimg">
                        <asp:Repeater ID="rptLeader" runat="server" >
                            <ItemTemplate>
                                <li class="imgbox">
                                     <a href="BranchLeaderWindow.aspx?ID=<%# Eval("ID") %>&BranchID=<%# Eval("BranchID") %>" target="_blank" style="display: block;">
										<div class="nailthumb-container ">
											<img src='<%#  UpFileBusiness.GetFileUrl(Convert.ToString(Eval("ImageUrl")))%>' />
										</div>
                                    </a>
                                    <div class="titled"><%# Eval("UserName") %></div>
                                    <div class="titled" style="color: red; height:auto;"><%# Eval("Post") %></div>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div style="clear: both"></div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
